package com.wtwd.wtwddevice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wtwd.wtwddevice.model.entity.DeviceHeartRate;
import com.wtwd.wtwddevice.model.entity.DeviceHeartRateTotal;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mjy
 * @since 2024-05-16
 */
public interface IDeviceHeartRateService extends IService<DeviceHeartRate> {

    boolean insert(DeviceHeartRate heartRateData);


    /**
     * 获取同步缓存之后的累加值
     * 第一版本测试直接查询数据库
     * <p>
     * heartRateData
     *
     * @return
     */
    DeviceHeartRateTotal getSynchronizationCache(DeviceHeartRate heartRateData);





}
